import { navbar } from "vuepress-theme-hope";

export default navbar([
  {
    text: "个人主页",
    icon: "home",
    link: "/index.md"
  },
  {
    text: "博客主页",
    icon: "blog",
    link: "/blog.md"
  },
  '/demo/',
  {
    text: "编程语言",
    icon: "programming",
    children: [
      {
        text: "c",
        icon: "c",
        link: "/clang.md"
      },
      {
        text: "sql",
        icon: "sql",
        link: "/blogs/program/sql/"
      },
      {
        text: "Java",
        icon: "java",
        link: "/blogs/program/java/"
      },
      {
        text: "python",
        icon: "python",
        link: "/python.md"
      },
      {
        text: "golang",
        icon: "golang",
        link: "/golang.md"
      },
      {
        text: "javascript",
        icon: "javascript",
        link: "/javascript.md"
      },
      {
        text: "typescript",
        icon: "typescript",
        link: "/typescript.md"
      },
    ],
  },
  {
    text: "通用技能",
    icon: "library",
    children: [
      {
        text: "环境搭建",
        icon: "base",
        link: "/environment.md"
      },
      {
        text: "设计模式",
        icon: "design-pattern",
        link: "/design-pattern.md"
      },
      {
        text: "数据结构",
        icon: "data-structure",
        link: "/data-structure.md"
      },
      {
        text: "经典算法",
        icon: "algorithm",
        link: "/algorithm.md"
      },
      {
        text: "操作系统",
        icon: "os",
        link: "/blogs/generic/os/"
      },
      {
        text: "计算机网络",
        icon: "network",
        link: "/blogs/generic/network/network.md"
      }
    ],
  },
  {
    text: "GITHUB",
    icon: "github",
    link: "https://github.com/lingwh1995",
  },
  {
    text: "GITEE",
    icon: "gitee",
    link: "https://gitee.com/lingwh1995",
  }
]);
